<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>定位页面</title>
	</head>
	<body>
		<button type="button" onclick="reloadNowPage();">刷新当前页面</button>
		<button type="button" onclick="goBaidu();">跳转到百度</button>
		<button type="button" onclick="goHistorypage();">跳转到history</button>
		<ul>
			<li>abc</li><button type="button">删除</button>
			<li>13</li>
			<li>ab454c</li>
			<li>sdfsdf</li>
		</ul>
		<form action="" method="post">
			
			用户名：<input type="submit" value=""/>
			<button type="button">注册</button>
		</form>
	</body>
	<script type="text/javascript">
		function reloadNowPage(){
			location.reload();
			
		}
		function goBaidu(){
			location.href = 'http://www.baidu.com';
		}
		function goHistorypage(){
			location.href = 'http://127.0.0.1:8848/%E5%A4%A7%E4%BA%8C3%E7%8F%AD/4%20BOM%20DOM%20%E6%A8%A1%E5%9E%8B/history.html';
		}
		// onload = function(){
		// 	setTimeout(function(){
		// 		location.href = 'http://www.baidu.com';
		// 	},3000)
		// }
	</script>
</html>
